<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>Developer Console</title>
</head>
<link rel="stylesheet" href="../../resources/css/main.css"
	type="text/css">
<script src="../../script/base.js"></script>
<script src="../../script/control.js"></script>
<script language="JavaScript">
  var contextPath = "<c:out value='${pageContext.request.contextPath}'/>";
</script>
<body>
<f:view>
	<f:loadBundle basename="net.orange.conf.lang.fw" var="msg" />
	<h:form id="myForm">
		<h:panelGrid columns="2" rowClasses="content-title"
			style="width:100%;">
			<h:outputText value="#{msg.console_title_3}" />

			<h:panelGroup style="text-align:right">
				<h:commandButton value="Next" type="submit" id="cmdNext"
					action="#{jdbc.selectAnalyzeColumns}" styleClass="button-normal" />
			</h:panelGroup>
		</h:panelGrid>

		<h:messages styleClass="content-message" />

		<h:panelGrid
			rowClasses="content-detail-title,content-detail,content-detail"
			style="width:100%">
			<h:outputText
				value="#{msg.console_analyze_2}:" />
			<f:verbatim>
				<img src="../../resources/images/analyzetabl2.jpg" width="202"
					height="135" border="0">
			</f:verbatim>
			<h:outputText value=" " />
			<h:outputText value=" " />
		</h:panelGrid>

		<h:panelGrid columns="3">
			<h:selectOneListbox id="selecteAvailableColumn"
				value="#{jdbc.selecteAvailableColumn}" size="10" style="width:150px">
				<f:selectItems value="#{jdbc.availableAnalyseColumnSet}" />
			</h:selectOneListbox>

			<h:panelGrid>
				<h:commandButton value="->" type="submit" id="cmdAdd"
					action="#{jdbc.addAnalyzeColumn}" styleClass="button-normal" />
				<h:commandButton value="<-" type="submit" id="cmdRemove"
					action="#{jdbc.removeAnalyzeColumn}" styleClass="button-normal" />
			</h:panelGrid>


			<h:selectOneListbox id="selecteAnalyzeColumn"
				value="#{jdbc.selecteAnalyzeColumn}" size="10" style="width:150px">
				<f:selectItems value="#{jdbc.selectedAnalyseColumnSet}" />
			</h:selectOneListbox>
		</h:panelGrid>


	</h:form>
</f:view>
</body>
</html>
